package com.ruoyi.system.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 人员台账表 camera
 *
 * @author yingjie.liu
 * @date 2024-09-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("personnel_account")
public class PersonnelAccount implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.NONE)
    private int id;

    /**
     * 抓拍时间
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime snapTime;

    /**
     * 抓拍图片Id
     */
    private String snapId;

    /**
     * 员工Id
     */
    private String empId;

    /**
     * 照片质量评分
     */
    private int quality;


    /**
     * 摄像机名称
     */
    private String cameraName;

    /**
     * 人像库Id
     */
    private int libId;

    /**
     * 设备id
     */
    private String deviceId;
}